package com.david.mydemo.ctl_webservice.dao;

import com.david.mydemo.ctl_webservice.req.UserInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.Map;

@Mapper
public interface WsUserDao {

    int insert4aUser(UserInfo userInfo);

    int delete4aUser(@Param("userId") String userId);

    int change4aUser(UserInfo userInfo);

    int disable4aUser(UserInfo userInfo);

    int able4aUser(UserInfo userInfo);

    int resetpwd4aUser(UserInfo userInfo);

    Map<String, Object> get4aUserById(@Param("userId") String userId);

}
